﻿using GCC.APIContainer.Utilities;
using GCC.Container.Abstracts;
using GCC.Container.Models;

using Microsoft.AspNetCore.Mvc;

namespace Z.Test.APIPlugin
{
    [ApiController]//记住这个单词
    [Route("TestServer/[controller]")]//记住这个
    public class TestController : GCCAPIControllerBase//记住这个GCCAPIControllerBase
    {
        public TestController(AbsGCCContext context) : base(context)
        {
        }

        /// <summary>
        /// 我是xxxx
        /// </summary>
        /// <returns></returns>
        [HttpGet()]//记住这个GCCAPIControllerBase
        public DataResponse<string> Get()
        {
            return HandleData(Guid.NewGuid().ToString("N"));

        }
    }
}
